import request from '@/utils/request'
/**
 * @description 注册
 * @param {Object} params
 * @returns {Object}
 */
export function register(data) {
  return request.post('/api/users/register', data)
}
export function login(data) {
  return request.post('/api/users/login', data)
}